package com.sizu.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;


import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mht
 * @since 2020-03-26
 */
@Data
@Accessors(chain = true)
public class TbContent extends Model<TbContent> {

    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 内容类目ID
     */
    private Integer categoryId;

    /**
     * 内容标题
     */
    private String title;

    /**
     * 链接
     */
    private String url;

    /**
     * 图片绝对路径
     */
    private String pic;

    /**
     * 状态,0无效，1有效
     */
    private String status;

    /**
     * 排序
     */
    private Integer sortOrder;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
